(byte-compile-find-cl-functions):
authorRichard M. Stallman <rms@gnu.org>
Wed, 31 Jul 2002 22:04:33 +0000 (22:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 31 Jul 2002 22:04:33 +0000 (22:04 +0000)
Check that (car elt) is a string.

lisp/emacs-lisp/bytecomp.el

index 936f9fec5cfc70f750bf205f0655a1f8c5d9c02b..b70a79971b3eb586a77eb8978cda0e583186dd38 100644 (file)
@@ -10,7 +10,7 @@
 
 ;;; This version incorporates changes up to version 2.10 of the
 ;;; Zawinski-Furuseth compiler.
-(defconst byte-compile-version "$Revision: 2.107 $")
+(defconst byte-compile-version "$Revision: 2.108 $")
 
 ;; This file is part of GNU Emacs.
 
@@ -1206,7 +1206,8 @@ Each function's symbol gets marked with the `byte-compile-noruntime' property."
 (defun byte-compile-find-cl-functions ()
   (unless byte-compile-cl-functions
     (dolist (elt load-history)
-      (when (string-match "^cl\\>" (car elt))
+      (when (and (stringp (car elt))
+                (string-match "^cl\\>" (car elt)))
        (setq byte-compile-cl-functions
              (append byte-compile-cl-functions
                      (cdr elt)))))